
#include "okFrontPanelDLL.h"

Bool okFrontPanelDLL_LoadLib(const char *libname)  {
	return true;
}

void okFrontPanelDLL_FreeLib(void) {
}


okCPLL22150::okCPLL22150() { }
void okCPLL22150::SetCrystalLoad(double capload) { }
void okCPLL22150::SetReference(double freq, bool extosc) { }
double okCPLL22150::GetReference() { return 0; }
bool okCPLL22150::SetVCOParameters(int p, int q) { return 0; }
int okCPLL22150::GetVCOP() { return 0; }
int okCPLL22150::GetVCOQ() { return 0; }
double okCPLL22150::GetVCOFrequency() { return 0; }
void okCPLL22150::SetDiv1(DividerSource divsrc, int n) { }
void okCPLL22150::SetDiv2(DividerSource divsrc, int n) { }
okCPLL22150::DividerSource okCPLL22150::GetDiv1Source() { return DivSrc_Ref; }
okCPLL22150::DividerSource okCPLL22150::GetDiv2Source() { return DivSrc_Ref; }
int okCPLL22150::GetDiv1Divider() { return 0; }
int okCPLL22150::GetDiv2Divider() { return 0; }
void okCPLL22150::SetOutputSource(int output, ClockSource clksrc) { }
void okCPLL22150::SetOutputEnable(int output, bool enable) { }
okCPLL22150::ClockSource okCPLL22150::GetOutputSource(int output) { return ClkSrc_Ref; }
double okCPLL22150::GetOutputFrequency(int output) { return 0; }
bool okCPLL22150::IsOutputEnabled(int output) { return 0; }
void okCPLL22150::InitFromProgrammingInfo(unsigned char *buf) { }
void okCPLL22150::GetProgrammingInfo(unsigned char *buf) { }


okCFrontPanel::okCFrontPanel() { }
okCFrontPanel::~okCFrontPanel() { }
int okCFrontPanel::GetHostInterfaceWidth() { return 0; }
okCFrontPanel::BoardModel okCFrontPanel::GetBoardModel() { return brdUnknown; }
std::string okCFrontPanel::GetBoardModelString(BoardModel m) { return ""; }
int okCFrontPanel::GetDeviceCount() { return 0; }
okCFrontPanel::BoardModel okCFrontPanel::GetDeviceListModel(int num) { return brdUnknown; }
std::string okCFrontPanel::GetDeviceListSerial(int num) { return ""; }
void okCFrontPanel::EnableAsynchronousTransfers(bool enable) { }
okCFrontPanel::ErrorCode okCFrontPanel::OpenBySerial(std::string str) { return NoError; }
bool okCFrontPanel::IsOpen() { return 0; }
int okCFrontPanel::GetDeviceMajorVersion() { return 0; }
int okCFrontPanel::GetDeviceMinorVersion() { return 0; }
std::string okCFrontPanel::GetSerialNumber() { return ""; }
std::string okCFrontPanel::GetDeviceID() { return ""; }
void okCFrontPanel::SetDeviceID(const std::string str) { }
okCFrontPanel::ErrorCode okCFrontPanel::SetBTPipePollingInterval(int interval) { return NoError; }
void okCFrontPanel::SetTimeout(int timeout) { }
okCFrontPanel::ErrorCode okCFrontPanel::ResetFPGA() { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::ConfigureFPGAFromMemory(unsigned char *data, const unsigned long length,
			void(*callback)(int, int, void *), void *arg) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::ConfigureFPGA(const std::string strFilename,
			void (*callback)(int, int, void *), void *arg) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::WriteI2C(const int addr, int length, unsigned char *data) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::ReadI2C(const int addr, int length, unsigned char *data) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::GetPLL22150Configuration(okCPLL22150& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::SetPLL22150Configuration(okCPLL22150& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::GetEepromPLL22150Configuration(okCPLL22150& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::SetEepromPLL22150Configuration(okCPLL22150& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::GetPLL22393Configuration(okCPLL22393& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::SetPLL22393Configuration(okCPLL22393& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::GetEepromPLL22393Configuration(okCPLL22393& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::SetEepromPLL22393Configuration(okCPLL22393& pll) { return NoError; }
okCFrontPanel::ErrorCode okCFrontPanel::LoadDefaultPLLConfiguration() { return NoError; }
bool okCFrontPanel::IsHighSpeed() { return 0; }
bool okCFrontPanel::IsFrontPanelEnabled() { return 0; }
bool okCFrontPanel::IsFrontPanel3Supported() { return 0; }
void okCFrontPanel::UpdateWireIns() { }
okCFrontPanel::ErrorCode okCFrontPanel::SetWireInValue(int ep, UINT32 val, UINT32 mask) { return NoError; }
void okCFrontPanel::UpdateWireOuts() { }
UINT32 okCFrontPanel::GetWireOutValue(int epAddr) { return 0; }
okCFrontPanel::ErrorCode okCFrontPanel::ActivateTriggerIn(int epAddr, int bit) { return NoError; }
void okCFrontPanel::UpdateTriggerOuts() { }
bool okCFrontPanel::IsTriggered(int epAddr, UINT32 mask) { return 0; }
long okCFrontPanel::GetLastTransferLength() { return 0; }
long okCFrontPanel::WriteToPipeIn(int epAddr, long length, unsigned char *data) { return 0; }
//long okCFrontPanel::ReadFromPipeOut(int epAddr, long length, unsigned char *data) { return 0; }
long okCFrontPanel::WriteToBlockPipeIn(int epAddr, int blockSize, long length, unsigned char *data) { return 0; }
//long okCFrontPanel::ReadFromBlockPipeOut(int epAddr, int blockSize, long length, unsigned char *data) { return 0; }


long okCFrontPanel::ReadFromBlockPipeOut(int epAddr, int blockSize, long length, unsigned char *data) {
	return 0;
}




